package uk.ac.bath.base;

public class MappedVectorState extends VectorState {

    private int[] map;

    public MappedVectorState(int[] map, VectorState state) {
        this.v = state.v;
        this.n = state.n;
        this.map = map;
    }

    public Value at(int i) {
        return v[map[i]];
    }


}
